package com.cy.补充.third;

import java.util.List;
import java.util.Objects;

public class SiYangYuan {
    public void wei (List<? extends Animal> aniList){
        for (Animal ani : aniList) {
            ani.chi();
        }
    }

    public void wei2 (List<? super Cat> aniList){
    }
}
